//
//  BHStadiumCompetitionInfoCell.swift
//  BigHealth
//
//  Created by 蔺百好 on 2021/7/1.
//

import UIKit

class BHStadiumCompetitionInfoCell: UITableViewCell {

    @IBOutlet weak var imgView: UIImageView!
    
    @IBOutlet weak var name_label: UILabel!
    
    @IBOutlet weak var start_time_label: UILabel!
    
    var model: BHStadiumDetailGameModel! {
        didSet {
            self.imgView.sd_setImage(with: URL.init(string: model.coverUrl), placeholderImage: nil, options: .retryFailed, completed: nil)
            self.name_label.text = model.name
            self.start_time_label.text = "开赛日期：\(model.startTime)"
            
        }
    }
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
